﻿using System;
using System.Collections.Generic;
using System.Text;


namespace EZCRS.HCMS.Entity
{
    /// <summary>
    /// 国家信息
    /// </summary>
    /// 
    [DataFieldAttribute("HCRS_Country")]
    public class HCRS_Country
    {
        #region
        private int? _countryid;
        private string _code;
        private string _countryname;
        private int? _languagetype;

        [DataFieldAttribute("countryid","pk")]
        public int? countryid
        {
            get { return _countryid; }
            set { _countryid = value; }
        }

        [DataFieldAttribute("code")]
        public string code
        {
            get { return _code; }
            set { _code = value; }
        }

        [DataFieldAttribute("countryname")]
        public string countryname
        {
            get { return _countryname; }
            set { _countryname = value; }
        }

        [DataFieldAttribute("languagetype")]
        public int? languagetype
        {
            get { return _languagetype; }
            set { _languagetype = value; }
        }
        #endregion

        public HCRS_Country() { }
        public HCRS_Country(System.Data.DataRow dr)
        {
            _countryid = Convert.ToInt32(dr["countryid"].ToString());
            _code = dr["code"].ToString();
            _countryname = dr["countryname"].ToString();
            _languagetype = Convert.ToInt32(dr["languagetype"].ToString());
        }

        public object[] hmodify(HCRS_Country _h)
        {
            return new object[]{"",new System.Data.SqlClient.SqlParameter[5]};
        }
    }
}
